package transporte.server.dao.impl;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import transporte.server.dao.TestEntityDao;
import transporte.server.entity.TestEntity;

@Repository
public class TestEntityDaoImpl extends BaseDaoHibernate<TestEntity> implements TestEntityDao {

	@Autowired
	public TestEntityDaoImpl(SessionFactory sessionFactory) {
		super(sessionFactory);
	}
	
	@Override
	public void remove(long id) {
		super.deleteObject(id);
	}

	@Override
	public void save(TestEntity t) {
		super.saveObject(t);
	}
}
